package cn.backpackerxl.service;

import cn.backpackerxl.entity.User;

import java.util.List;

/**
 * @Author: backpackerxl
 * CreateTime: 2022/5/18
 * FileName: UserServiceImpl
 **/
public interface UserService {
    int add(User user);

    List<User> all();

    User findUser(Long id);

    int update(User user);
}
